package bill;

/*
* 测试continue语句
* */
public class TestContinue {
    public static void main(String[] args) {
        /*在第三次不想打印helloworld*/
        for (int i = 1; i <= 5; i++) {
            //判断是否等于3
            if( i == 3 ){
                continue;//跳出本次循环 继续下一次循环
            }
            System.out.println("hello world\t" + i);
        }
    }
}
